package com.gsnd.briuppts.service;

import com.gsnd.briuppts.entity.BaseAuthority;
import com.gsnd.briuppts.entity.DO.BaseAuthorityExtend;
import com.gsnd.briuppts.entity.DO.BaseAuthoritySimple;

import java.util.List;

/**
 * @Description: 权限相关业务接口
 * @Author: GX Cui
 * @Date 09:18 2024/6/24
 */
public interface BaseAuthorityService {

    // 获取平铺结构的权限
    List<BaseAuthoritySimple> findAllAuthorities(String accountId);

    // 获取树状结构的权限
    List<BaseAuthorityExtend> findAllAuthoritiesTree(String accountId);
}
